        <h3>Thêm mới sản phẩm.</h3>
        <br>

        <?php
        $attribute = array(
            'class' => 'form-horizontal',
            'id' => 'addproduct',
            'name' => 'addproduct'
        );

        echo form_open('manage_products/manage_create/verify', $attribute);
        ?>
        
<form class="form-horizontal" role="form">
    
    <div class="form-group">
        <label for="image" class="col-lg-3 control-label" >Hình ảnh: </label>
        <div class="col-lg-1">
            <img src="<?php echo  base_url('assets/userfile/img/products/MK001.jpg')?>" class="img-rounded"  width="90px" height="90px"/>
            <input type="file" id="image" />    
        </div>      
    </div> 
    
    <div class="form-group" id="name">
        <label for="name" class="col-lg-3 control-label">Tên sản phẩm: </label>
        <div class="col-lg-7">
            <input type="text" class="form-control" id="name" name="name" placeholder="nhập vào tên sản phẩm..." />
        </div>
    </div>
    
     <div class="form-group">
                <label for="parent" class="col-lg-3 control-label" >Danh mục cha</label>
                <p class="col-lg-7">
                    <?php
                    $listproduct = array(
                        '1' => 'San pham 1',
                        '2' => 'San pham 2',
                        '3' => 'San pham 3',
                    );
                    echo form_dropdown('parent', $listproduct, '1');
                    ?>
                </p>
    </div>
    
    <div class="form-group" id="iddes">
        <label for="product_desc" class="col-lg-3 control-label">Mô tả sản phẩm: </label>
        <div class="col-lg-7">
            <textarea id = "des" name="des "class="form-control" rows="4" placeholder= "Mô tả sản phẩm"/> </textarea>
        </div>
    </div>
    
    <div class="form-group" id="statusprice">
        <label for="product_price" class="col-lg-3 control-label">Giá: </label>
        <div class="col-lg-7">
            <input type="text"  class="form-control"  id="price" name="price" placeholder="nhập giá sản phẩm " />
        </div>
    </div>
    
    <div class="form-group" id="statusSaleOff">
        <label for="product_price" class="col-lg-3 control-label">Giá Khuyến Mãi: </label>
        <div class="col-lg-7">
            <input type="text"  class="form-control"  id="saleOff" name="saleOff" placeholder="nhập giá khuyến mãi" />
        </div>
    </div>

  
    <div class="form-group">
        <div class="col-lg-offset-4 col-lg-5">
                <input type="submit" class="btn btn-primary" name="submit" id="submit" value="Thêm" />                
                <input type="button" class="btn btn-primary" name="cancel" id="cancel" value="Hủy" onclick="return myconfirm();" />
        </div>
    </div>
</form>

